package com.fenghongzhang.day004_rxjava_rxretrofit;

import android.graphics.Paint;

public class School {

    private String name;
    public static School school = null;

    private School() {

    }

    public synchronized static School getInstance(){
        if(school == null){
            school = new School();
        }
        return school;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
